<template>
  <div id="iframeDiv">
    <!-- 面包屑 -->
    <bread-crumb  :breadCrumb="this.breadCrumb"></bread-crumb>

   <iframe :src="this.mode" name="ifrmname" style="width: 100%;height: 100vh;" id="iframe"></iframe>
  </div>
</template>

<script>
  //面包屑
  import BreadCrumb from './breadcrumb'
  import $ from 'jquery'
  export default{
    data(){
      return{
        show:true,
        m:'',
        num:'',
        url:''
      }
    },
    props:{
      breadCrumb:Array,
      mode:String
    },
    components:{
      BreadCrumb
    },
    watch:{
      mode:function(newV,oldV){
        this.mode = newV
        localStorage.setItem('mode',newV)
      },
      depp:true
    },
    created() {
      this.mode = localStorage.getItem('mode')
    }
  }
</script>

<style scoped="scoped">

</style>
